<%@ page language="java" import="java.util.*,code.bean.*,code.util.*" pageEncoding="UTF-8"%>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="60%" height="80">空间名&mdash;&mdash;<%=ParamUtils.getParameter(request, "spaceName", "")%>
				</td>
				<td>
				</td>
				<td valign="middle" align="right"><br/>
				<form name="" action="servlet/SearchCodeByTitle?userid=<%=ParamUtils.getParameter(request, "userid", "")%>&spaceName=<%=ParamUtils.getParameter(request, "spaceName", "")%>" method="post">
				<input type="text" name = "title1" value="" maxlength="20"/>
				<input type="submit" class="signinbtn1" value="搜标题"/>
				</form>
				</td>
				<td valign="middle" align="center">
					<a href="">首页</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<%
						if(session.getAttribute("loginUser") != null)
							out.println("<input type=\"button\" class=\"signinbtn1\" onclick=\"location.href='../servlet/DoLogout'\" value=\"退出\">");
						else
							out.println("<input type=\"button\" class=\"signinbtn1\" onclick=\"location.href='../login.jsp'\" value=\"登录\">");
					%>
				</td>
			</tr>
		</table>
		<table width="95%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td height="25" colspan="2" valign="top">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td width="100%" height="25" align="left" valign="middle">
								&nbsp;<a href="servlet/ShowSpace?userid=<%=ParamUtils.getParameter(request, "userid", "")%>">主页</a>&nbsp;|
								&nbsp;<a href="servlet/ShowCode?userid=<%=ParamUtils.getParameter(request, "userid", "")%>&blogdate=<%=DateUtils.format(Calendar.getInstance().getTime())%>">我的代码</a>&nbsp;|
								&nbsp;<a href="servlet/ShowShare?userid=<%=ParamUtils.getParameter(request, "userid", "")%>">我的收藏</a>&nbsp;|
								&nbsp;<a href="servlet/ManageCode?userid=<%=ParamUtils.getParameter(request, "userid", "")%>&cmd=add">贴代码</a>&nbsp;|
								&nbsp;<a href="../CodeSharer/advSearch.jsp?userid=<%=ParamUtils.getParameter(request, "userid", "")%>&spaceName=<%=ParamUtils.getParameter(request, "spaceName", "")%>">搜代码</a>&nbsp;|
								&nbsp;<a href="servlet/ShowProfile?userid=<%=ParamUtils.getParameter(request, "userid", "")%>">用户</a>
								<%
									if(session.getAttribute("loginUser") != null && ((User)(session.getAttribute("loginUser"))).getId().equals(ParamUtils.getParameter(request, "userid", "")))
									{
									 
										out.println("&nbsp;|&nbsp;<a href=\"servlet/CodeList?userid=" + ParamUtils.getParameter(request, "userid", "") + "\">代码管理</a>");
										out.println("&nbsp;|&nbsp;<a href=\"servlet/ShareList?userid=" + ParamUtils.getParameter(request, "userid", "") + "\">收藏管理</a>");
									}
								%>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
